package com.example.yuejian23.yuejian_23.service;


import com.example.yuejian23.yuejian_23.javaBean.BisaiBean;
import com.example.yuejian23.yuejian_23.javaBean.DashiBean;
import com.example.yuejian23.yuejian_23.javaBean.HuodongBean;
import com.example.yuejian23.yuejian_23.javaBean.JulebuBean;
import com.example.yuejian23.yuejian_23.javaBean.ShaituBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by dong on 2017/10/24.
 */

public interface ProService {
    @GET("Post/mypostlist")
    Call<List<ShaituBean>> getList(
            @Query("uid") String uid
    );

    @GET("Attention/myfans")
    Call<List<DashiBean>> getLists(
            @Query("uid") String uid,
            @Query("flag") int flag
    );

    @GET("Attention/myfans")
    Call<List<JulebuBean>> getListss(
            @Query("uid") String uid,
            @Query("flag") int flag
    );

    @GET("Attention/myfans")
    Call<List<HuodongBean>> getListsss(
            @Query("uid") String uid,
            @Query("flag") int flag
    );
    @GET("Attention/myfans")
    Call<List<BisaiBean>> getListb(
            @Query("uid") String uid,
            @Query("flag") int flag
    );
}
